//
//  ZCHotCollectionViewCell.m
//  VoiceMusic
//
//  Created by dllo on 15/10/20.
//  Copyright © 2015年 zhangdeyu. All rights reserved.
//

#import "ZCHotCollectionViewCell.h"
#import "ZCBaseLabel.h"
#import <Masonry.h>
@implementation ZCHotCollectionViewCell

-(void)layoutSubviews
{
    [super layoutSubviews];
    [self.picImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.contentView.mas_top);
        make.left.equalTo(self.contentView.mas_left).offset(10);
        make.right.equalTo(self.contentView.mas_right).offset(-10);
        make.bottom.equalTo(self.contentView.mas_bottom).offset(-50);
    }];
    
    [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.picImageView.mas_bottom);
        make.left.equalTo(self.contentView.mas_left).offset(10);
        make.right.equalTo(self.contentView.mas_right).offset(-10);
        make.bottom.equalTo(self.contentView.mas_bottom);
    }];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
